
package com.ctibook.booksystem.ws;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.9
 * 2020-11-19T19:01:27.197+08:00
 * Generated source version: 2.5.9
 * 
 */
public final class FtpServiceWS_FtpServiceWSImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://ws.booksystem.ctibook.com", "FtpServiceWSImpl");

    private FtpServiceWS_FtpServiceWSImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = FtpServiceWSImpl.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        FtpServiceWSImpl ss = new FtpServiceWSImpl(wsdlURL, SERVICE_NAME);
        FtpServiceWS port = ss.getFtpServiceWSImplPort();  
        
        {
        System.out.println("Invoking getFtpServiceViewVosByType...");
        java.lang.String _getFtpServiceViewVosByType_ftpServiceType = "";
        int _getFtpServiceViewVosByType_enableValue = 0;
        java.util.List<com.ctibook.booksystem.ws.FtpServiceViewVo> _getFtpServiceViewVosByType__return = port.getFtpServiceViewVosByType(_getFtpServiceViewVosByType_ftpServiceType, _getFtpServiceViewVosByType_enableValue);
        System.out.println("getFtpServiceViewVosByType.result=" + _getFtpServiceViewVosByType__return);


        }
        {
        System.out.println("Invoking getFtpFileInfoExtensions...");
        java.util.List<java.lang.String> _getFtpFileInfoExtensions__return = port.getFtpFileInfoExtensions();
        System.out.println("getFtpFileInfoExtensions.result=" + _getFtpFileInfoExtensions__return);


        }
        {
        System.out.println("Invoking deleteFtpService...");
        java.lang.String _deleteFtpService_ftpServiceId = "";
        port.deleteFtpService(_deleteFtpService_ftpServiceId);


        }
        {
        System.out.println("Invoking getFtpServiceUploadFtpFileInfo...");
        java.util.List<com.ctibook.booksystem.ws.FtpServiceUploadFtpFilesViewVo> _getFtpServiceUploadFtpFileInfo__return = port.getFtpServiceUploadFtpFileInfo();
        System.out.println("getFtpServiceUploadFtpFileInfo.result=" + _getFtpServiceUploadFtpFileInfo__return);


        }
        {
        System.out.println("Invoking updateFtpFileMatchFtpServiceRecordPassInfo...");
        java.lang.String _updateFtpFileMatchFtpServiceRecordPassInfo_recordId = "";
        java.lang.Boolean _updateFtpFileMatchFtpServiceRecordPassInfo_pass = null;
        port.updateFtpFileMatchFtpServiceRecordPassInfo(_updateFtpFileMatchFtpServiceRecordPassInfo_recordId, _updateFtpFileMatchFtpServiceRecordPassInfo_pass);


        }
        {
        System.out.println("Invoking saveOnixXmlFileReadOnixBookBaseInfoVo...");
        com.ctibook.booksystem.ws.OnixXmlFileReadOnixBookBaseInfoVo _saveOnixXmlFileReadOnixBookBaseInfoVo_downloadPaths = null;
        port.saveOnixXmlFileReadOnixBookBaseInfoVo(_saveOnixXmlFileReadOnixBookBaseInfoVo_downloadPaths);


        }
        {
        System.out.println("Invoking getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId...");
        java.lang.String _getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId_ftpFileId = "";
        java.lang.String _getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId_ftpServiceId = "";
        java.util.List<java.lang.String> _getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId__return = port.getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId(_getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId_ftpFileId, _getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId_ftpServiceId);
        System.out.println("getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId.result=" + _getFtpFileMatchFtpServiceRecordIdsByFtpFileIdAndFtpServiceId__return);


        }
        {
        System.out.println("Invoking getFtpUploadFileInfoRecordById...");
        java.lang.String _getFtpUploadFileInfoRecordById_ftpFileId = "";
        java.lang.String _getFtpUploadFileInfoRecordById_ftpServiceId = "";
        java.util.List<com.ctibook.booksystem.ws.FtpUploadFileInfoRecordViewVo> _getFtpUploadFileInfoRecordById__return = port.getFtpUploadFileInfoRecordById(_getFtpUploadFileInfoRecordById_ftpFileId, _getFtpUploadFileInfoRecordById_ftpServiceId);
        System.out.println("getFtpUploadFileInfoRecordById.result=" + _getFtpUploadFileInfoRecordById__return);


        }
        {
        System.out.println("Invoking getFtpFileInfoViewVosByFtpServiceId...");
        java.lang.String _getFtpFileInfoViewVosByFtpServiceId_ftpServiceId = "";
        java.lang.Boolean _getFtpFileInfoViewVosByFtpServiceId_approvedByHuman = null;
        java.util.List<com.ctibook.booksystem.ws.FtpFileInfoViewVo> _getFtpFileInfoViewVosByFtpServiceId__return = port.getFtpFileInfoViewVosByFtpServiceId(_getFtpFileInfoViewVosByFtpServiceId_ftpServiceId, _getFtpFileInfoViewVosByFtpServiceId_approvedByHuman);
        System.out.println("getFtpFileInfoViewVosByFtpServiceId.result=" + _getFtpFileInfoViewVosByFtpServiceId__return);


        }
        {
        System.out.println("Invoking getFtpFileInfoViewVoByParams...");
        java.util.List<com.ctibook.booksystem.ws.ParameterVo> _getFtpFileInfoViewVoByParams_paramVos = null;
        int _getFtpFileInfoViewVoByParams_pageIndex = 0;
        int _getFtpFileInfoViewVoByParams_pageSize = 0;
        com.ctibook.booksystem.ws.PageViewVO _getFtpFileInfoViewVoByParams__return = port.getFtpFileInfoViewVoByParams(_getFtpFileInfoViewVoByParams_paramVos, _getFtpFileInfoViewVoByParams_pageIndex, _getFtpFileInfoViewVoByParams_pageSize);
        System.out.println("getFtpFileInfoViewVoByParams.result=" + _getFtpFileInfoViewVoByParams__return);


        }
        {
        System.out.println("Invoking getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath...");
        java.lang.String _getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath_ftpServiceId = "";
        java.util.List<java.lang.String> _getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath_downloadPaths = null;
        java.util.List<com.ctibook.booksystem.ws.FtpFileDownloadViewVo> _getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath__return = port.getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath(_getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath_ftpServiceId, _getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath_downloadPaths);
        System.out.println("getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath.result=" + _getFtpDownloadFileViewVoByFtpServiceIdAndDownloadPath__return);


        }
        {
        System.out.println("Invoking addOrUpdateFtpFileInfoViewVo...");
        com.ctibook.booksystem.ws.FtpFileInfoViewVo _addOrUpdateFtpFileInfoViewVo_viewVo = null;
        port.addOrUpdateFtpFileInfoViewVo(_addOrUpdateFtpFileInfoViewVo_viewVo);


        }
        {
        System.out.println("Invoking addUploadFtpFileRecord...");
        com.ctibook.booksystem.ws.FtpUploadFileInfoRecordViewVo _addUploadFtpFileRecord_recordVo = null;
        java.lang.String _addUploadFtpFileRecord_ftpServiceId = "";
        port.addUploadFtpFileRecord(_addUploadFtpFileRecord_recordVo, _addUploadFtpFileRecord_ftpServiceId);


        }
        {
        System.out.println("Invoking addUploadFtpFileRecords...");
        java.util.List<com.ctibook.booksystem.ws.FtpUploadFileInfoRecordViewVo> _addUploadFtpFileRecords_recordVos = null;
        java.lang.String _addUploadFtpFileRecords_ftpServiceId = "";
        port.addUploadFtpFileRecords(_addUploadFtpFileRecords_recordVos, _addUploadFtpFileRecords_ftpServiceId);


        }
        {
        System.out.println("Invoking deleteFtpFileViewVo...");
        java.lang.String _deleteFtpFileViewVo_ftpFileId = "";
        port.deleteFtpFileViewVo(_deleteFtpFileViewVo_ftpFileId);


        }
        {
        System.out.println("Invoking addOrUpdateFtpFileInfoViewVos...");
        java.util.List<com.ctibook.booksystem.ws.FtpFileInfoViewVo> _addOrUpdateFtpFileInfoViewVos_viewVos = null;
        port.addOrUpdateFtpFileInfoViewVos(_addOrUpdateFtpFileInfoViewVos_viewVos);


        }
        {
        System.out.println("Invoking addOrUpdateFtpService...");
        com.ctibook.booksystem.ws.FtpServiceViewVo _addOrUpdateFtpService_viewVo = null;
        port.addOrUpdateFtpService(_addOrUpdateFtpService_viewVo);


        }
        {
        System.out.println("Invoking getFtpFileMatchFtpServiceInfoViewVoByFtpFileId...");
        java.lang.String _getFtpFileMatchFtpServiceInfoViewVoByFtpFileId_ftpFileId = "";
        com.ctibook.booksystem.ws.FtpFileMatchFtpServiceInfoViewVo _getFtpFileMatchFtpServiceInfoViewVoByFtpFileId__return = port.getFtpFileMatchFtpServiceInfoViewVoByFtpFileId(_getFtpFileMatchFtpServiceInfoViewVoByFtpFileId_ftpFileId);
        System.out.println("getFtpFileMatchFtpServiceInfoViewVoByFtpFileId.result=" + _getFtpFileMatchFtpServiceInfoViewVoByFtpFileId__return);


        }
        {
        System.out.println("Invoking saveFtpFileInfoApprovedResult...");
        java.util.List<java.lang.String> _saveFtpFileInfoApprovedResult_ftpFileIds = null;
        java.lang.Boolean _saveFtpFileInfoApprovedResult_enable = null;
        java.lang.String _saveFtpFileInfoApprovedResult_approvedResult = "";
        java.lang.String _saveFtpFileInfoApprovedResult_approvedUserId = "";
        port.saveFtpFileInfoApprovedResult(_saveFtpFileInfoApprovedResult_ftpFileIds, _saveFtpFileInfoApprovedResult_enable, _saveFtpFileInfoApprovedResult_approvedResult, _saveFtpFileInfoApprovedResult_approvedUserId);


        }
        {
        System.out.println("Invoking updateFtpServiceStatus...");
        java.lang.String _updateFtpServiceStatus_ftpServiceId = "";
        java.lang.Boolean _updateFtpServiceStatus_enable = null;
        port.updateFtpServiceStatus(_updateFtpServiceStatus_ftpServiceId, _updateFtpServiceStatus_enable);


        }
        {
        System.out.println("Invoking saveFtpFileMatchFtpServiceRecordViewVo...");
        com.ctibook.booksystem.ws.FtpFileMatchFtpServiceRecordViewVo _saveFtpFileMatchFtpServiceRecordViewVo_recordVo = null;
        port.saveFtpFileMatchFtpServiceRecordViewVo(_saveFtpFileMatchFtpServiceRecordViewVo_recordVo);


        }
        {
        System.out.println("Invoking getOnixUnDealXmlFiles...");
        java.util.List<com.ctibook.booksystem.ws.FtpFileInfoViewVo> _getOnixUnDealXmlFiles__return = port.getOnixUnDealXmlFiles();
        System.out.println("getOnixUnDealXmlFiles.result=" + _getOnixUnDealXmlFiles__return);


        }
        {
        System.out.println("Invoking getFtpUploadFileInfoRecordViewVoByParams...");
        java.util.List<com.ctibook.booksystem.ws.ParameterVo> _getFtpUploadFileInfoRecordViewVoByParams_paramVos = null;
        java.util.List<com.ctibook.booksystem.ws.FtpUploadFileInfoRecordViewVo> _getFtpUploadFileInfoRecordViewVoByParams__return = port.getFtpUploadFileInfoRecordViewVoByParams(_getFtpUploadFileInfoRecordViewVoByParams_paramVos);
        System.out.println("getFtpUploadFileInfoRecordViewVoByParams.result=" + _getFtpUploadFileInfoRecordViewVoByParams__return);


        }

        System.exit(0);
    }

}
